home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 December
/
PCWorld_2007-12_cd.bin
/
domacnost a kancelar
/
autoit
/
autoit-v3-setup.exe
/
Examples
/
Helpfile
/
_WordMacroRun.au3
< prev
next >
Wrap
Text File
|
2007-09-08
|
426b
|
10 lines
; *******************************************************
; Example 1 - Create a word window, open a document,
; run a macro named "My Macro" with one
; argument "Test", quit without saving changes.
; *******************************************************
;
#include <Word.au3>
$oWordApp = _WordCreate (@ScriptDir & "\Test.doc")
_WordMacroRun ($oWordApp, "My Macro", "Test")
_WordQuit ($oWordApp, 0)